package pers.lonestar.framework.utils.support.exception;

import pers.lonestar.framework.utils.support.metadata.CellData;

public class ExcelConvertException extends ExcelUtilsException {
    private int rowIndex;
    private int columnIndex;
    private CellData cellData;

    public ExcelConvertException(String message) {
        super(message);
    }

    public ExcelConvertException(int rowIndex, int columnIndex, CellData cellData, String message) {
        super(message);
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.cellData = cellData;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }

    public int getColumnIndex() {
        return columnIndex;
    }

    public void setColumnIndex(int columnIndex) {
        this.columnIndex = columnIndex;
    }

    public CellData getCellData() {
        return cellData;
    }

    public void setCellData(CellData cellData) {
        this.cellData = cellData;
    }
}
